program project1;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Interfaces, // this includes the LCL widgetset
  sysutils, Forms, zcomponent, lazreport, lazreportpdfexport, ConnectionDM,
  QueryConditions, RelatorioDM, ErrosDM, calculosclassificacao, UsuarioLoginFm, DataRecord, MainFr, MainSearchFr,
  MunicipioSearchFr, MainFm, MainRecordFr, Controller, ProdutorRecordFr,
  ProdutorSearchFr, MainDM, ProdutorDM, MunicipioDM, UsuarioDM,
  MunicipioRecordFr, TecnicoRecordFr, TecnicoDM, AnaliseDM,
  AnaliseRecordFr, LaboratorioDM, LaboratorioRecordFr, TransactionDM,
AnaliseSearchFr, UsuarioRecordFR, SobreFR;

{$R *.res}

begin
  Application.Title:='SCATS';
  Application.Initialize;
  FormatSettings.DecimalSeparator:=',';
  FormatSettings.ThousandSeparator:='.';
  FormatSettings.DateSeparator:='/';
  FormatSettings.ShortDateFormat := 'dd/mm/yyyy';
  Application.CreateForm(TErrosData, ErrosData);
  Application.CreateForm(TConnectionData, ConnectionData);
  Application.CreateForm(TTecnicoData, TecnicoData);
  Application.CreateForm(TProdutorData, ProdutorData);
  Application.CreateForm(TMunicipioData, MunicipioData);
  Application.CreateForm(TUsuarioData, UsuarioData);
  Application.CreateForm(TAnaliseData, AnaliseData);
  Application.CreateForm(TRelatorioData, RelatorioData);
  Application.CreateForm(TLaboratorioData, LaboratorioData);
  Application.CreateForm(TUsuarioLoginForm, UsuarioLoginForm);
  Application.CreateForm(TMainForm, MainForm);
  Application.Run;
end.

